package com.hhb.dao.impl;

import com.hhb.dao.UserDao;
import org.springframework.stereotype.Repository;

@Repository
public class UserDaoImpl implements UserDao {
    @Override
    public void add() {
        System.out.println("Dao add……");
    }

    @Override
    public int and(int a, int b) {
        System.out.println("and方法执行了");
        return a+b;
    }

    @Override
    public String update(String id) {
        System.out.println("update方法执行了");
        return id;
    }
}
